package com.tyut.rxtnongyespringboot.controller;// TestController.java
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("/api/test")
    public String test() {
        return "This is a protected endpoint!";
    }
}